def running():
        for player in [10,-10]:     
            for i in range(3):
                if (player,0,i)in chessmen and(player,1,i)in chessmen and(player,2,i)in chessmen:
                    running = False     
                if (player,i,0)in chessmen and(player,i,1)in chessmen and(player,i,2)in chessmen:
                    running = False     
            if (player,0,0)in chessmen and(player,1,1)in chessmen and(player,2,2)in chessmen:
                running = False        
            if (player,2,0)in chessmen and(player,1,1)in chessmen and(player,0,2)in chessmen:
                running = False        
                
